[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
U_PWDHIST(IEXP) (STRING)
Function
Get the last three passwords used by the current user.
Syntax
U_PWDHIST(num)
num = The number of the password from the history to return (1 through 3).
Return Type & Value
STRING
Returns the specified password from the history (1 for the most recent,
3 for the least recent).
Remarks
PCBoard has the ability to track the last three passwords used by each
user. This function will return one of those passwords from the history
for the user currently online. Unlike the predefined U_... user
variables, this function does not require the use of GETUSER to return
valid information. However, it does require that the password PSA has
been installed to return meaningful information. The existence of the
password PSA may be checked via the PSA() function.
Examples
INTEGER i
IF (PSA(4)) THEN
FOR i = 1 TO 3
PRINTLN "Password history ",i,": ",U_PWDHIST(i)
NEXT
ENDIF
See Also:
PSA()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson